package com.tongfusoft.document.entity;

import javax.persistence.Entity;

import com.tongfusoft.spring.web.core.data.BaseData;

@Entity
public class Resource extends BaseData {
	/**
	 * Ψһʶ
	 */
	private String resId;
	/**
	 * Դ
	 */
	private String resName;
	/**
	 * Դ
	 */
	private String resDesc;
	/**
	 * url,method
	 */
	private String resType;
	/**
	 * Ȩʱ
	 */
	private int resPriority;
	/**
	 * Դ(URLMethod)
	 */
	private String resContent;
	/**
	 * [0:Ч,1:Ч]
	 */
	private String status;
	/**
	 * Id
	 */
	private String parentId;
	/**
	 
	*/
	private int showOrder;

	@Override
    public String getPkName() {
        return "resId";
    }

	public String getResId() {
		return resId;
	}

	public void setResId(String resId) {
		this.resId = resId;
	}

	public String getResName() {
		return resName;
	}

	public void setResName(String resName) {
		this.resName = resName;
	}

	public String getResDesc() {
		return resDesc;
	}

	public void setResDesc(String resDesc) {
		this.resDesc = resDesc;
	}

	public String getResType() {
		return resType;
	}

	public void setResType(String resType) {
		this.resType = resType;
	}

	public int getResPriority() {
		return resPriority;
	}

	public void setResPriority(int resPriority) {
		this.resPriority = resPriority;
	}

	public String getResContent() {
		return resContent;
	}

	public void setResContent(String resContent) {
		this.resContent = resContent;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getParentId() {
		return parentId;
	}

	public void setParentId(String parentId) {
		this.parentId = parentId;
	}

	public int getShowOrder() {
		return showOrder;
	}

	public void setShowOrder(int showOrder) {
		this.showOrder = showOrder;
	}
	
}
